package enums

type SvcCtrlEnum int

const (
	Add SvcCtrlEnum = iota + 1
	Modify
	Remove
)

type SvcCtrlType struct {
	Cmd string
}

func (it SvcCtrlEnum) Get() SvcCtrlType {
	switch it {
	case Add:
		return SvcCtrlType{Cmd: "add"}
	case Modify:
		return SvcCtrlType{Cmd: "modify"}
	case Remove:
		return SvcCtrlType{Cmd: "remove"}
	default:
		return SvcCtrlType{}
	}
}
